package com.example.demo_mvp.contract;

import com.example.demo_mvp.base.view.IBaseView;
import com.example.demo_mvp.base.model.IBaseModel;
import com.example.demo_mvp.base.presenter.IBasePresenter;
import com.example.demo_mvp.entity.BaseResponse;
import com.example.demo_mvp.entity.VideoEntity;

import java.util.List;

import io.reactivex.Observable;

/**
 * @author yaotianxue
 * @description 接口规范
 * @date 2025/1/9
 */
public interface VideoContract {
    interface IVideoModel extends IBaseModel {
        Observable<BaseResponse<List<VideoEntity>>> getVideoData(int currentPage);
    }
    interface IVideoView extends IBaseView{
        void showVideoData(List<VideoEntity> data);
    }
    interface IVideoPresenter extends IBasePresenter{
        void getVideoData();
    }
}
